<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>

		<div id="MainWrap"> 
			<div style="width: 980px;margin: 30px auto;font-size:14px;">
				<div class="mt">
					<span style="font-size:14px;">
						找回密码
					</span>
					<b></b>
				</div>
				<div class="form mc">
					<div style=" margin: 20px auto;">
						重设密码后,请在您的邮箱查收
					</div>
					<table width="100%" cellspacing="0" cellpadding="0" border="0">
						 	 
							<tr>
								<th>
									<i>*</i>用户名：
								</th>
								<td>
									<input type="text" class="x-input inputstyle" id="uname" name="members.uname" />
									<input type="button" onclick="reset()" value="重设密码" class="  " />
								</td>
							</tr>
							<tr>
								<th></th>
								<td>
									
								</td>
							</tr>
						 
					</table>
				</div>
			</div>
		</div>



		<%@ include file="/jsp/front/common/footer.jsp"%>
		<script type="text/javascript" src="<c:url value='/scripts/jquery-1.4.2.js'/>"></script>
		<script type="text/javascript">
	function reset() {
		if (!confirm('确定重设吗?')) {
			return;
		}

		var uname = $('#uname').val();

		if (uname != '') {
			var url = "password_reset_save.html";
			var params = {
				"members.uname" : uname
			};

			$.getJSON(url, params, function callback(data) {

				alert('操作成功');
			});

		} else {

		}

	}
</script>
	</body>
</html>